<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org"
	xmlns:dt="http://github.com/dandelion/datatables"
	xmlns:sec="http://www.thymeleaf.org">
<head>

</head>

<body>

	<form action="savefrequency" th:action="@{/savefrequency}" th:fragment="frequency"
		class="form-inline" method="post">

		<fieldset>

			<legend th:utext="#{usagefrequency}"></legend>

			<input type="text" class="input-small" name="times"
				th:value="${useCase.frequency == null ? '' : useCase.frequency.times}"
				required="required" /> <label class="control-label">time(s)
				per</label> <select name="unit">
				<option id="second" label="Second" value="Second">Second</option>
				<option id="minute" label="Minute" value="Minute">Minute</option>
				<option id="hour" label="Hour" value="Hour">Hour</option>
				<option id="day" label="Day" value="Day">Day</option>
				<option id="week" label="Week" value="Week">Week</option>
				<option id="month" label="Month" value="Month">Month</option>
				<option id="quarter" label="Quarter" value="Quarter">Quarter</option>
				<option id="Year" label="Year" value="Year">Year</option>

			</select> <input type="hidden" name="usecase" th:value="${useCase.id}" />

			<div class="form-actions">
				<button type="submit" class="btn btn-success">Save</button>
				<button type="reset" class="btn btn-info">Cancel</button>

			</div>

		</fieldset>
	</form>

</body>
</html>
